﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Hangfire.Dashboard.Authorization
{
    public class BasicAuthAuthorizationUser
    {
        public BasicAuthAuthorizationUser(string login, string password)
        {
            if (string.IsNullOrEmpty(login) || string.IsNullOrEmpty(password))
                throw new ArgumentNullException();
            UserName = login;
            Password = password;
        }
        public string UserName { get; set; }

        public string Password { get; set; }
    }
}
